package com.spa.application.dto.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@JsonInclude
public class SysRoleDto {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long roleId;

    private String roleName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private List<String> menuIdList;

    private List<String> dataPermission;

}
